for(let item of [10,20,30]){
    console.log(item)
}


for(let item of [10,20,30]){
    console.log(item,[10,20,30].indexOf(item))
}


for (let k in 'hello') {
    console.log(k,'hello'.charAt(k))
}
